var pkgPath = this.name.replace(/\.shape$/, '.');
with (this)
{
	addScript("mxShape.js", ["mxShape"], null, [pkgPath + "util.mxUtils", pkgPath + "util.mxEvent", pkgPath + "util.mxPath"]);
	addScript("mxActor.js", ["mxActor", "mxCloud", "mxHexagon", "mxTriangle"]);
	addScript("mxRectangleShape.js", ["mxRectangleShape"]);
	addScript("mxLine.js", ["mxLine", "mxPolyline"]);
	addScript("mxEllipse.js", ["mxEllipse", "mxDoubleEllipse"]);
	addScript("mxConnector.js", ["mxConnector"], null, [pkgPath + "util.mxUtils", pkgPath + "util.mxPoint"]);
	addScript("mxLabel.js", ["mxLabel"]);
	addScript("mxImageShape.js", ["mxImageShape"]);
	addScript("mxRhombus.js", ["mxRhombus"]);
	addScript("mxArrow.js", ["mxArrow"]);
	addScript("mxText.js", ["mxText"], null, [pkgPath + "util.mxUtils", pkgPath + "util.mxRectangle"]);
	addScript("mxCylinder.js", ["mxCylinder"]);
	addScript("mxSwimlane.js", ["mxSwimlane"], ["mxRhombus"]);

	addDependence("*", [pkgPath + "util.mxConstants", "mxShape"]);
}